import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Demo {

    public static void main(String[] args) throws Exception {
        BCryptPasswordEncoder bc = new BCryptPasswordEncoder();

        String admin = bc.encode("admin");

        System.out.println(admin);
    }

}
